#include<stdio.h>
#include"tree.h"
int main()
{
	TST* father = NULL, * father1 = NULL;
	STLGrowth(&father1, 1);
	father = father1;
	STLGrowth(&father1, 2);
	STLGrowth(&father1, 3);
	STLsearch(father1, 2, &father1);
	
	STLGrowth(&father1, 4);
	STLGrowth(&father1, 5);
	STLsearch(father1, 4, &father1);
	STLGrowth(&father1, 6);
	STLGrowth(&father1, 7);
	STLreturn(&father1);
	STLprint(STLsearch(father1, 4, &father1));
	TST* p = father1;
	STLreturn(&father1);
	//STLprint(father1);
	STLreturn(&father1);
	STLcut1(father1,2);
	STLprint(STLsearch(father1,2,&father1));
	return 0;
}